package com.mp.approvalreq.entity.dto;

import com.mp.approvalreq.entity.TemplateComponent;
import com.mp.user.entity.User;

import java.math.BigDecimal;
import java.util.List;
import java.util.Objects;

/**
 * Created by liuqi on 2018/7/3.
 */
public class RequestInfoDTO {

	private Integer requestId;
	private Integer companyId;
	private Integer templateId;
	private Integer version;
	private Integer defaultType;
	private Integer requestAncestorId;
	private Integer finished;
	private Integer requestStep;
	private String requestName;
	private String allJudger;
	private String allJudgerCiid;
	private Integer applicant;
	private Integer applicantCiid;
	private String cc;
	private String nextJudger;
	private String nextJudgerCiid;
	private String confirmer;
	private String confirmerCiid;
	private String refuser;
	private String refuserCiid;
	private String checkedTime;
	private String requestTime;
	private Integer requestVersion;
	private String requestContentLastStr;
	private String requestContentLastTotalSecond;
	private String naturalContentTimeLast;
	private String callBackTime;
	private String finallyCcTime;
	private String manualEndingTimeStr;
	private String totalMoney;
	private String layerType;
	private BigDecimal costMoney;
	private User user;
	private String startTime;
	private String endTime;
	private String outPosition;
	private String location;
	private Integer isRelatedWorkTime;
	private String templateColor;
	private Integer totalCount;
	private List<TemplateComponent> components;
	private String applicantName;
	private String daysOffTimes;
	private String relaPeopleContactIds;
	private String relaPeopleNames;
	// 调休时长显示
	private String summaryContent;

	/**
	 * 审批层级
	 */
	private String[] layers;

	public RequestInfoDTO() {
	}

	public String getRefuser() {
		return refuser;
	}

	public void setRefuser(String refuser) {
		this.refuser = refuser;
	}

	public String getRefuserCiid() {
		return refuserCiid;
	}

	public void setRefuserCiid(String refuserCiid) {
		this.refuserCiid = refuserCiid;
	}

	public String[] getLayers() {
		return layers;
	}
	public void setLayers(String[] layers) {
		this.layers = layers;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLayerType() {
		return layerType;
	}

	public void setLayerType(String layerType) {
		this.layerType = layerType;
	}

	public String getSummaryContent() {
		return summaryContent;
	}

	public void setSummaryContent(String summaryContent) {
		this.summaryContent = summaryContent;
	}

	public Integer getRequestId() {
		return requestId;
	}

	public void setRequestId(Integer requestId) {
		this.requestId = requestId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getDefaultType() {
		return defaultType;
	}

	public void setDefaultType(Integer defaultType) {
		this.defaultType = defaultType;
	}

	public Integer getRequestAncestorId() {
		return requestAncestorId;
	}

	public void setRequestAncestorId(Integer requestAncestorId) {
		this.requestAncestorId = requestAncestorId;
	}

	public Integer getFinished() {
		return finished;
	}

	public void setFinished(Integer finished) {
		this.finished = finished;
	}

	public Integer getRequestStep() {
		return requestStep;
	}

	public void setRequestStep(Integer requestStep) {
		this.requestStep = requestStep;
	}

	public String getRequestName() {
		return requestName;
	}

	public void setRequestName(String requestName) {
		this.requestName = requestName;
	}

	public String getAllJudger() {
		return allJudger;
	}

	public void setAllJudger(String allJudger) {
		this.allJudger = allJudger;
	}

	public String getAllJudgerCiid() {
		return allJudgerCiid;
	}

	public void setAllJudgerCiid(String allJudgerCiid) {
		this.allJudgerCiid = allJudgerCiid;
	}

	public Integer getApplicant() {
		return applicant;
	}

	public void setApplicant(Integer applicant) {
		this.applicant = applicant;
	}

	public Integer getApplicantCiid() {
		return applicantCiid;
	}

	public void setApplicantCiid(Integer applicantCiid) {
		this.applicantCiid = applicantCiid;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getNextJudger() {
		return nextJudger;
	}

	public void setNextJudger(String nextJudger) {
		this.nextJudger = nextJudger;
	}

	public String getNextJudgerCiid() {
		return nextJudgerCiid;
	}

	public void setNextJudgerCiid(String nextJudgerCiid) {
		this.nextJudgerCiid = nextJudgerCiid;
	}

	public String getConfirmer() {
		return confirmer;
	}

	public void setConfirmer(String confirmer) {
		this.confirmer = confirmer;
	}

	public String getConfirmerCiid() {
		return confirmerCiid;
	}

	public void setConfirmerCiid(String confirmerCiid) {
		this.confirmerCiid = confirmerCiid;
	}

	public String getCheckedTime() {
		return checkedTime;
	}

	public void setCheckedTime(String checkedTime) {
		this.checkedTime = checkedTime;
	}

	public String getRequestTime() {
		return requestTime;
	}

	public void setRequestTime(String requestTime) {
		this.requestTime = requestTime;
	}

	public Integer getRequestVersion() {
		return requestVersion;
	}

	public void setRequestVersion(Integer requestVersion) {
		this.requestVersion = requestVersion;
	}

	public String getRequestContentLastStr() {
		return requestContentLastStr;
	}

	public void setRequestContentLastStr(String requestContentLastStr) {
		this.requestContentLastStr = requestContentLastStr;
	}

	public String getRequestContentLastTotalSecond() {
		return requestContentLastTotalSecond;
	}

	public void setRequestContentLastTotalSecond(String requestContentLastTotalSecond) {
		this.requestContentLastTotalSecond = requestContentLastTotalSecond;
	}

	public String getNaturalContentTimeLast() {
		return naturalContentTimeLast;
	}

	public void setNaturalContentTimeLast(String naturalContentTimeLast) {
		this.naturalContentTimeLast = naturalContentTimeLast;
	}

	public String getCallBackTime() {
		return callBackTime;
	}

	public void setCallBackTime(String callBackTime) {
		this.callBackTime = callBackTime;
	}

	public String getFinallyCcTime() {
		return finallyCcTime;
	}

	public void setFinallyCcTime(String finallyCcTime) {
		this.finallyCcTime = finallyCcTime;
	}

	public String getManualEndingTimeStr() {
		return manualEndingTimeStr;
	}

	public void setManualEndingTimeStr(String manualEndingTimeStr) {
		this.manualEndingTimeStr = manualEndingTimeStr;
	}

	public String getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(String totalMoney) {
		this.totalMoney = totalMoney;
	}

	public BigDecimal getCostMoney() {
		return costMoney;
	}

	public void setCostMoney(BigDecimal costMoney) {
		this.costMoney = costMoney;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getOutPosition() {
		return outPosition;
	}

	public void setOutPosition(String outPosition) {
		this.outPosition = outPosition;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Integer getIsRelatedWorkTime() {
		return isRelatedWorkTime;
	}

	public void setIsRelatedWorkTime(Integer isRelatedWorkTime) {
		this.isRelatedWorkTime = isRelatedWorkTime;
	}

	public String getTemplateColor() {
		return templateColor;
	}

	public void setTemplateColor(String templateColor) {
		this.templateColor = templateColor;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public List<TemplateComponent> getComponents() {
		return components;
	}

	public void setComponents(List<TemplateComponent> components) {
		this.components = components;
	}

	public String getApplicantName() {
		return applicantName;
	}

	public void setApplicantName(String applicantName) {
		this.applicantName = applicantName;
	}

	public String getDaysOffTimes() {
		return daysOffTimes;
	}

	public void setDaysOffTimes(String daysOffTimes) {
		this.daysOffTimes = daysOffTimes;
	}

	public String getRelaPeopleContactIds() {
		return relaPeopleContactIds;
	}

	public void setRelaPeopleContactIds(String relaPeopleContactIds) {
		this.relaPeopleContactIds = relaPeopleContactIds;
	}

	public String getRelaPeopleNames() {
		return relaPeopleNames;
	}

	public void setRelaPeopleNames(String relaPeopleNames) {
		this.relaPeopleNames = relaPeopleNames;
	}

	@Override
	public String toString() {
		return "{" +
				"requestId=" + requestId +
				", templateId=" + templateId +
				", defaultType=" + defaultType;
	}
}
